﻿

using System;
using System.ServiceModel;
using System.Runtime.Serialization;


namespace WCFModel
{

    [DataContract]
    public class Student
    {
        /// <summary>
        /// 用户ID
        /// </summary>
        [DataMember]
        public Int32 Id { get; set; }

        /// <summary>
        /// 用户第一名称
        /// </summary>
        [DataMember]
        public string FirstName { get; set; }

        /// <summary>
        /// 用户第二名称
        /// </summary>
        [DataMember]
        public string LastName { get; set; }

        /// <summary>
        /// 用户别名
        /// </summary>
        public string AliasName { get; set; }


        /// <summary>
        /// 用户年龄
        /// </summary>
        [DataMember]
        public Int32 Age { get; set; }
    }
}
